@echo off
  CD /d %~dp0
  CD ..
  SET LIB=%CD%\lib\
  SET TOOLSFOLDER=%CD%\tools\
  SET RELEASEDIR=%CD%\release\
  SET THEMESDIR=%CD%\themes\
  
  copy /y %LIB%jquery-2.1.3.min.js %RELEASEDIR%jquery-2.1.3.min.js
  copy /y %LIB%jquery-1.11.0.min.js %RELEASEDIR%jquery-1.11.0.min.js
  copy /y %LIB%json3.min.js %RELEASEDIR%json3.min.js
  copy /y %LIB%template.js %RELEASEDIR%template.js
  
  MKDIR %RELEASEDIR%\themes\bootstrap\
  copy /y %THEMESDIR%bootstrap\cetc54.ui.all.css %RELEASEDIR%themes\bootstrap\cetc54.ui.all.css
  xcopy /e /y /i /C %THEMESDIR%bootstrap\icons\* %RELEASEDIR%themes\bootstrap\icons\
  xcopy /e /y /i /C %THEMESDIR%bootstrap\images\* %RELEASEDIR%themes\bootstrap\images\
  
  MKDIR %RELEASEDIR%\themes\fonts\
  xcopy /e /y /i /C %THEMESDIR%fonts\* %RELEASEDIR%themes\fonts
  
  MKDIR %RELEASEDIR%\plugins\My97DatePicker 
  xcopy /e /y /i /C %LIB%My97DatePicker\* %RELEASEDIR%plugins\My97DatePicker
  
  MKDIR %RELEASEDIR%\plugins\ztree\
  xcopy /e /y /i /C %LIB%zTree_v3\css\* %RELEASEDIR%plugins\ztree\css
  del /q %RELEASEDIR%plugins\ztree\css\demo.css
  copy /y %LIB%zTree_v3\js\jquery.ztree.core.min.js %RELEASEDIR%plugins\ztree\ui.tree.core.js
  copy /y %LIB%zTree_v3\js\jquery.ztree.excheck.min.js %RELEASEDIR%plugins\ztree\ui.tree.excheck.js
  copy /y %LIB%zTree_v3\js\jquery.ztree.exedit.min.js %RELEASEDIR%plugins\ztree\ui.tree.exedit.js
  copy /y %LIB%zTree_v3\js\jquery.ztree.exhide.min.js %RELEASEDIR%plugins\ztree\ui.tree.exhide.js
  
  MKDIR %RELEASEDIR%\plugins\ntko\
  copy /y %LIB%ntko\NtkoCrossBrowserSetup.msi %RELEASEDIR%plugins\ntko\NtkoCrossBrowserSetup.msi
  copy /y %LIB%ntko\OfficeControl.cab %RELEASEDIR%plugins\ntko\OfficeControl.cab
  copy /y %LIB%ntko\ntkosigntool.cab %RELEASEDIR%plugins\ntko\ntkosigntool.cab
  copy /y %LIB%ntko\ntkoplugins.xpi %RELEASEDIR%plugins\ntko\ntkoplugins.xpi
  copy /y %LIB%ntko\ntkoplugins.crx %RELEASEDIR%plugins\ntko\ntkoplugins.crx
  copy /y %LIB%ntko\ntkopdfdoc.cab %RELEASEDIR%plugins\ntko\ntkopdfdoc.cab
  
  MKDIR %RELEASEDIR%\plugins\hcharts\
  xcopy /e /y /i /C %LIB%hcharts\js\* %RELEASEDIR%plugins\hcharts
  RMDIR /q /s %RELEASEDIR%plugins\hcharts\adapters
  
  MKDIR %RELEASEDIR%\plugins\echarts\
  xcopy /e /y /i /C %LIB%echarts\build\dist\* %RELEASEDIR%plugins\echarts
  
  MKDIR %RELEASEDIR%\plugins\ueditor\
  xcopy /e /y /i /C %LIB%ueditor\* %RELEASEDIR%plugins\ueditor
  RMDIR /q /s %RELEASEDIR%plugins\ueditor\api
  del /q %RELEASEDIR%plugins\ueditor\index.html
  del /q %RELEASEDIR%plugins\ueditor\ueditor.all.js
  del /q %RELEASEDIR%plugins\ueditor\ueditor.parse.js
  
  MKDIR %RELEASEDIR%\plugins\umeditor\
  xcopy /e /y /i /C %LIB%umeditor\* %RELEASEDIR%plugins\umeditor
  del /q %RELEASEDIR%plugins\umeditor\index.html
  del /q %RELEASEDIR%plugins\umeditor\umeditor.js
  del /q %RELEASEDIR%plugins\umeditor\third-party\jquery.min.js
  
  echo finish!